package cn.itlaobing.web.servlet;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import cn.itlaobing.web.annotation.RequestMapping;

@WebServlet(value="/students/*",loadOnStartup=1)
public class StudentServlet extends BaseServlet{
	
	/**
	 * /students/index
	 * 查询
	 * @param request
	 * @param response
	 */
	@RequestMapping("/index")
	public void index(HttpServletRequest request,HttpServletResponse response) {
		System.out.println(">>>>>>>>>>>>>.index");
	}
	/**
	 * /students/create
	 * 增加
	 */
	@RequestMapping("/create")
	public void create(HttpServletRequest request,HttpServletResponse response) {
		System.out.println(">>>>>>>>>>>>>.create");
	}
	/**
	 * students/update
	 * 修改
	 */
	@RequestMapping("/update")
	public void update(HttpServletRequest request,HttpServletResponse response) {
		System.out.println(">>>>>>>>>>>>>.update");
	}
	/**
	 * students/delete
	 * 删除
	 */
	@RequestMapping("/delete")
	public void delete(HttpServletRequest request,HttpServletResponse response) {
		System.out.println(">>>>>>>>>>>>>.delete");
	}
	
	
	

}
